<!DOCTYPE html>
<html lang="en">
<head>
    <title>疾病详情</title>
    <%- include('../../_global/baseLibs') %>

</head>
<body>

<section class="page-wrap page-health">

    <!-- header start -->
    <header id="header" class="header-box grey fixed header-box">
        <div class="header-content">
            <div class="left-tool">
                <a class="back" href="javascript:void(0);"><i class="iconfont icon-back"></i></a>
            </div>
            <div class="title">疾病详情</div>
        </div>
    </header>
    <!-- header end -->

    <!--content start-->
    <aside class="plane-box first">
        <ul class="default-list disease-details" id="details">
            <li class="disease_name">
                <h4>名称：</h4>
                <p></p>
            </li>
            <li class="introduction">
                <h4>简介：</h4>
                <p></p>
            </li>
            <li class="dep_name">
                <h4>推荐科室：</h4>
                <p></p>
            </li>
            <li class="treatment">
                <h4>治疗：</h4>
                <p></p>
            </li>
            <li class="multiple_population">
                <h4>多发人群：</h4>
                <p></p>
            </li>
            <li class="clinical">
                <h4>临床表现：</h4>
                <p></p>
            </li>
            <li class="examination">
                <h4>检查：</h4>
                <p></p>
            </li>
            <li class="etiology">
                <h4>病因：</h4>
                <p></p>
            </li>
            <li class="prevention">
                <h4>预防：</h4>
                <p></p>
            </li>
        </ul>
    </aside>
    <!--content end-->

</section>
<script type="text/javascript" src="/static/lib/util.js"></script>
<script type="text/javascript">


    var page_diseaseDetail = (function($, page_diseaseDetail) {
        var uri_service_getDiseaseDetail = '/api/gzd/disease/getDiseaseDetail';

        function getList(){
            var disease_info_id = $.QuickUrlUtils.getRequest('disease_info_id');
            $.QuickRemote.AjaxJson({
                funcName: uri_service_getDiseaseDetail
                , params: {disease_info_id: disease_info_id}
                , callback: function (result) {
                    $.each(result, function(key, value){
                        if(StringUtils.isEmpty(value)){
                            $("#details").find("." + key).remove();
                        }else{
                            $("#details").find("." + key + " p").text(value);
                        }
                    })
                }
            });
        }

        var cfg_def = {
            getList: getList,
        }

        page_diseaseDetail.init = function(cfg){
            $.extend(page_diseaseDetail, cfg_def, cfg);
            page_diseaseDetail.getList();

        }

        return page_diseaseDetail;
    })(jQuery, {});


</script>

</body>
</html>